package com.eya.service;

import com.eya.mapper.UserMapper;
import com.eya.model.User;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * TODO(这个类的作用)
 *
 * @auther: luolin
 * @since: 2018/3/8 16:14
 */
@Service
public class UserService {

	@Autowired
	private UserMapper userMapper;

	public List<User> getAllUser() {

		return userMapper.selectAll();
	}

}
